package com.nhncorp.pleiades.protocol;

import java.io.IOException;

import com.nhncorp.pleiades.hadoop.VersionedProtocol;



public interface ClientSessionProtocol extends VersionedProtocol {

  public static final long versionID = 1L;

  public void heartbeat(ClientSessionInfo clientInfo) throws IOException;
  
  public boolean isPrimaryPartition() throws IOException;

  public boolean checkServer();

}
